import Vue from 'vue'
import App from './App.vue'
import http from './axios'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueRouter from 'vue-router'
import Valid from './utils/validator'
import echarts from 'echarts'
Vue.use(VueRouter)
Vue.use(ElementUI)
Vue.prototype.$http = http
Vue.prototype.$validator = Valid
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App),
}).$mount('#app')